package com.lzp.wechat.entity.message;

import com.thoughtworks.xstream.annotations.XStreamAlias;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
@XStreamAlias("item")
@ApiModel(value = "图文消息实体")
public class Article {

    @XStreamAlias("Title")
    @ApiModelProperty(value = "图文消息标题")
    private String title;

    @XStreamAlias("Description")
    @ApiModelProperty(value = "图文消息描述")
    private String description;

    @XStreamAlias("PicUrl")
    @ApiModelProperty(value = "图片链接", notes = "支持JPG、PNG格式，较好的效果为大图360*200，小图200*200")
    private String picUrl;

    @XStreamAlias("Url")
    @ApiModelProperty(value = "点击图文消息跳转链接")
    private String url;

}
